package com.steadyoung.modelapp.rxretrofit.http;


/**
 * Created by Administrator on 2017/9/7.
 * Email : steadyoung@foxmail.com
 * Auth  : wayne
 * Desc  : 网络请求接口
 */
public interface HttpService {
    //    String BASE_URL = "http://192.168.1.38:8080/insideapp/";//测试地址
    String BASE_URL = "https://app.fortunepay.net/";//外网地址

    int SUCCESS_CODE = 0;

    /**
     * 注册
     *
     * @param email
     * @param mobile
     * @param loginPassword
     * @return
     */
    /*@FormUrlEncoded
    @POST("register")
    Observable<HttpResult<UserInfo>> userRegister(
            @Field("email") String email, @Field("mobile") String mobile,
            @Field("loginPassword") String loginPassword
    );*/



    /**
     * 根据商品ID查询其商品详情
     *
     * @return
     */
    /*@GET("index/searchProductDetail")
    Observable<HttpResult<CommodityDetailInfo>> searchProductDetail(
            @Query("id") int id
    );*/

}
